[INFO] cloning repository https://github.com/lprib/browncode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lprib/browncode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fbrowncode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fbrowncode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 734650e0308158e93c7bb3c567661a3d5511f247
[INFO] checking lprib/browncode against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fbrowncode" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lprib/browncode
[INFO] finished tweaking git repo https://github.com/lprib/browncode
[INFO] tweaked toml for git repo https://github.com/lprib/browncode written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lprib/browncode on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lprib/browncode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro-error v0.2.6
[INFO] [stderr]   Downloaded structopt-derive v0.3.3
[INFO] [stderr]   Downloaded peg v0.5.7
[INFO] [stderr]   Downloaded structopt v0.3.3
[INFO] [stderr]   Downloaded getrandom v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447
[INFO] running `Command { std: "docker" "start" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling proc-macro2 v1.0.5
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling bitflags v1.2.0
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling peg v0.5.7
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling browncode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling structopt-derive v0.3.3
[INFO] [stderr]     Checking structopt v0.3.3
[INFO] [stdout] warning: field `start_index` is never read
[INFO] [stdout]   --> src/ast.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct LineData<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 38 |     /// The character index into the input string that this line starts on
[INFO] [stdout] 39 |     pub start_index: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LineData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `System`, `InvalidCharacterValue`, `InvalidScancode`, and `InvalidSpriteIndex` are never constructed
[INFO] [stdout]   --> src/error.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  8 |     Graphics(String),
[INFO] [stdout]  9 |     System(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     InvalidCharacterValue(u32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     InvalidScancode(u32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     InvalidSpriteIndex(u32)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIXEL_FORMAT` is never used
[INFO] [stdout]   --> src/graphics/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const PIXEL_FORMAT: PixelFormatEnum = PixelFormatEnum::RGBA8888;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_pump` and `timer` are never read
[INFO] [stdout]   --> src/graphics/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Graphics {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 24 |     canvas: Canvas<Window>,
[INFO] [stdout] 25 |     event_pump: EventPump,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 26 |     timer: TimerSubsystem,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/graphics/mod.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SpriteCreator(TextureCreator<WindowContext>);
[INFO] [stdout]    |            ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sprite_creator` and `textures` are never read
[INFO] [stdout]   --> src/graphics/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Sprites<'a> {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 35 |     sprite_creator: &'a SpriteCreator,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     textures: Vec<Texture<'a>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/graphics/mod.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl Graphics {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn present(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn draw_color(&mut self, color: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn pixel(&mut self, x: u32, y: u32) -> IResult<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn fill_rect(&mut self, x: u32, y: u32, w: u32, h: u32) -> IResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn poll_exit(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn delay(&mut self, ms: u32) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn is_key_pressed(&self, scancode: u32) -> IResult<bool> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn sprite(&mut self, sprites: &Sprites, sprite_index: u32, x: u32, y: u32) -> IResult<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32) -> IResult<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_sprite_mono` is never used
[INFO] [stdout]    --> src/graphics/mod.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl<'a> Sprites<'a> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn create_sprite_mono(&mut self, data: &[u8], w: u32, h: u32, color: u32) -> IResult<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_color` is never used
[INFO] [stdout]    --> src/graphics/mod.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn to_color(n: u32) -> Color {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Fixed` and `VarArg` are never constructed
[INFO] [stdout]   --> src/interpreter/intrinsics.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum ExpectedArgs {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 16 |     Fixed(&'static [usize]),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     VarArg,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flush_stdout` is never used
[INFO] [stdout]    --> src/interpreter/intrinsics.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn flush_stdout() -> IResult<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `graphics` and `sprites` are never read
[INFO] [stdout]   --> src/interpreter/state.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct InterpreterState<'a> {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub graphics: Graphics,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 22 |     pub sprites: Sprites<'a>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/ast.rs:44:56
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from((start_index, line): (usize, Line<'a>)) -> LineData {
[INFO] [stdout]    |                                               --       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from((start_index, line): (usize, Line<'a>)) -> LineData<'a> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_index` is never read
[INFO] [stdout]   --> src/ast.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct LineData<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 38 |     /// The character index into the input string that this line starts on
[INFO] [stdout] 39 |     pub start_index: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LineData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/ast.rs:44:56
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from((start_index, line): (usize, Line<'a>)) -> LineData {
[INFO] [stdout]    |                                               --       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from((start_index, line): (usize, Line<'a>)) -> LineData<'a> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.97s
[INFO] running `Command { std: "docker" "inspect" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447", kill_on_drop: false }`
[INFO] [stdout] f7f857a935ada4ba260d0e858621fd7563befc6db170040b67c5ca31fd7ea447
